#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.http import HttpResponse
from django.shortcuts import render_to_response
from models import UserInfo
from shanku_main.user_global import *
def index(request):
    #try:
    #   p = int(p)
    #except:
    #    raise http.Http404
    pic_www = USER_DEFINED_PIC
    userList = UserInfo.objects.order_by('id')[:20]
    count = UserInfo.objects.count()
    return render_to_response('list.html',locals())